package com.tianchi.lexiang.util;

import android.util.Log;


public class QueryTimeRecordUtil {
	private static long startTime;
	private static long endTime;
//	private static List<String> timeList = new ArrayList<String>();
	
	public static void recordStartTime(){
		startTime = System.currentTimeMillis();
	}
	
	public static void recordEndTime(String logTag){
		endTime = System.currentTimeMillis();
		Log.d(logTag, " coast time " + (endTime - startTime) + " ms");
//		timeList.add(logTag + " coast time " + (endTime - startTime) + " ms");
	}
	
	public static void printTimeRecords(){
//		for (int i = 0; i < timeList.size(); i++) {
//			System.out.println(timeList.get(i));
//		}
//		timeList.clear();
	}
}
